//
//  RW_SingleModel.h
//  SleepApp
//
//  Created by MAC on 2021/3/25.
//  Copyright © 2021 RiceWang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RW_SongModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface RW_SingleModel : NSObject
/** ID */
@property (nonatomic,copy) NSString *xid;
/** 描述 */
@property (nonatomic,copy) NSString *desc;
/** 名称 */
@property (nonatomic,copy) NSString *name;
/** 封面 */
@property (nonatomic,copy) NSString *cover;
/** 歌曲列表 */
@property (nonatomic,strong) NSArray<RW_SongModel *> *list;



#pragma mark -- 网络请求
/** 所有歌单列表获取 */
+ (FBLPromise<NSArray<RW_SingleModel *> *> *)getSingleList;
/** 歌单的所有歌曲获取 */
+ (FBLPromise<RW_SingleModel *> *)getSingleSongListId:(NSString *)xid;
@end

NS_ASSUME_NONNULL_END
